<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body th:fragment="footer">
	<!-- nav_start -->
	<header th:fragment="nav" class="app-header navbar">
		<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show">
			<span class="navbar-toggler-icon"></span>
		</button>
		<a class="navbar-brand" href="#"> 
			<img class="navbar-brand-full" th:src="@{/asserts/img/brand/logo.svg}" width="89" height="25" alt="CoreUI Logo">
			<img class="navbar-brand-minimized" th:src="@{/asserts/img/brand/sygnet.svg}" width="30" height="30" alt="CoreUI Logo">
		</a>
		<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show">
			<i class="fa fa-navicon" aria-hidden="true" style="color:#fff"></i>
		</button>
		<ul class="nav navbar-nav d-md-down-none">
			<li class="nav-item px-3" th:each="item:${applications}">
				<a class="nav-link" id="applicationItem"  style="color:#fff;cursor:pointer" target="main" th:onclick="'showApplicationMenus(this)'" th:data-id="${item.id}" ><i th:class="${item.applicationIcons}" aria-hidden="true" style="color:#fff"></i> <span th:text="${item.applicationName}"></span></a> 
			</li>
		</ul>
		<ul class="nav navbar-nav ml-auto">
			<li class="nav-item d-md-down-none" style="margin-right:20px;">
				<a class="nav-link" href="http://cloud.linesno.com" target="_blank" style="color:#fff"><i class="nav-icon fa fa-desktop"></i> 云平台</a>
			</li>
			<li class="nav-item d-md-down-none" style="margin-right:20px;">
				<a class="nav-link" style="color:#fff"><i class="nav-icon fa fa-envelope-open"></i> 消息(10) </a>
			</li>
			<li class="nav-item d-md-down-none">
				<a class="nav-link" style="color:#fff"> <i class="icon-user"></i> <span th:text="${session.CURRENT_USER.name}">【部门主管 - 超级管理员】</span> </a>
			</li>
			<li class="nav-item dropdown">
				<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> 
				<img class="img-avatar" th:src="@{/asserts/img/header.png}" th:alt="${session.CURRENT_USER.name}">
			</a>
				<div class="dropdown-menu dropdown-menu-right">
					<a class="dropdown-item" href="#"> <i class="fa fa-send"></i>
					 	部门主管	
					</a> 
					<a class="dropdown-item" href="#"> <i class="fa fa-send"></i>
					 	主题切换	
					</a> 
					<a class="dropdown-item" href="#"> <i class="fa fa-shield"></i>
					 	锁屏	
					</a> 
					<a class="dropdown-item" th:href="@{/logout}"> <i class="fa fa-lock"></i>
					   退出	
					</a>
				</div>
			</li>
		</ul>
	</header>
	<!-- nav_end -->

</body>
</html>
